package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.jaxb.SpringDataJaxb;

@Mapper
public interface OrderMapper extends BaseMapper<Orders> {

 Page<OrdersDto>getOrdersAndOrderDetailsPage(Page<OrdersDto>ordersDtoPage, @Param("orderID") Long orderID,@Param("beginTime")  String beginTime,@Param("endTime")  String endTime);

}
